home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20041116-20060924
/
000096_robertls@nortelnetworks.com_Thu May 19 11:25:54 2005.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!newshub.sdsu.edu!cyclone.bc.net!utnut!qcarhaaa.nortelnetworks.com!zcars129!not-for-mail
From: "Robert Simmons" <robertls@nortelnetworks.com>
Newsgroups: comp.protocols.kermit.misc
Subject: How to compile kermit w/o buffers???
Date: Wed, 18 May 2005 17:03:26 -0500
Organization: Nortel Networks
Lines: 38
Message-ID: <d6ge3f$brc$1@zcars129.ca.nortel.com>
NNTP-Posting-Host: robertls-1.us.nortel.com
X-Trace: zcars129.ca.nortel.com 1116453807 12140 47.102.217.233 (18 May 2005 22:03:27 GMT)
X-Complaints-To: hawkinsj@nortelnetworks.com
NNTP-Posting-Date: Wed, 18 May 2005 22:03:27 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15333
Frank,
We got kermit to behave as we needed (without buffered output) by making the
changes described by my colleauge below. Would it be possible to have this
fixed in the kermit source?.. and even better yet, a runtime flag that can
be passed to toggle this behavior?
BTW, when I compiled with -DNONOSETBUF and tried "kermit -d" there is no log
in the debug.log file for "concb setbuf"
Thanks,
Robert
Hi Robert,
I think the kermit issue has been solved. The solution is showed below,
1) Download the cku211.tar.gz, unzip it, type the following command,
make linux
The unbuffered feature is not built in.
2) Using the following command,
make linux "KFLAGS=-DNONOSETBUF"
The unbuffered feature does not work yet. Because in the file, ckutio.c, the
line setbuf(stdout, NULL) is not executed at all.
3) Add new lines in file, ckcmai.c,
#ifdef NONOSETBUF
setbuf(stdout,NULL);
#endif /* NONOSETBUF */
And then the kermit works well.